package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_dfw_activity_damage", desc = "大富翁伤害日志", autoSave = true, uploadCk = true)
public class LogDFWDamage extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "商会id")
    private String unionUid;
    @FieldTypeAnnotation(desc = "伤害值")
    private int damage;
    @FieldTypeAnnotation(desc = "是否击杀")
    private boolean isKill;
    @FieldTypeAnnotation(desc = "bossId")
    private int bossId;
    @FieldTypeAnnotation(desc = "boss类型")
    private int bossType;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "攻击时间")
    private long attackTime;

    public LogDFWDamage(int activityId, long userId, String unionUid, int damage, boolean isKill, int bossId, int bossType, String reward, long attackTime) {
        this.activityId = activityId;
        this.userId = userId;
        this.unionUid = unionUid;
        this.damage = damage;
        this.isKill = isKill;
        this.bossId = bossId;
        this.bossType = bossType;
        this.reward = reward;
        this.attackTime = attackTime;
    }

    public long getUserId() {
        return userId;
    }

}
